import app from '@system.app';
import router from '@system.router';

export default {
    data: {
        title: 'World',
        backMain: {
            uri: 'pages/index/index'
        },
        topicData: {
            topic: '"羌笛何须怨杨柳，春风不度玉门关"的作者是？',
            A: '王维',
            B: '李白',
            C: '王焕之',
            D: '白居易',
            Answer: '王焕之',
            temp: ' ',
        }
    },
    exit(){
        app.terminate()
    },
    route(e){
        router.replace({
            uri: e.uri
        });
    },
    select(e, a){
        a.temp = a.Answer
    }
}
